export interface User {
  id: string;
  username: string;
  email: string;
  role: 'admin' | 'user';
  status: 'active' | 'inactive';
  createdAt: string;
  updatedAt: string;
}

export interface LoginForm {
  username: string;
  password: string;
}

export interface UserForm {
  username: string;
  email: string;
  role: 'admin' | 'user';
  status: 'active' | 'inactive';
}

export interface PaginationParams {
  current: number;
  pageSize: number;
  total?: number;
}

export interface SearchParams {
  keyword?: string;
  role?: string;
  status?: string;
}

export interface SortParams {
  field?: string;
  order?: 'ascend' | 'descend';
} 